package com.harmontronics.hanma.paas.paas.dto.input;

import com.harmontronics.hanma.paas.paas.domain.app.entity.valueobject.FormCreateWayEnum;
import com.harmontronics.hanma.paas.paas.domain.app.entity.valueobject.PageTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 流程表单
 *
 * @author paas-generator
 * @email paas-generator@harmontronics.com
 * @date 2021-04-01 15:11:16
 */
@Data
public class HmPageJsonInput {


    /**
     * 表单kid
     */
    @ApiModelProperty(value = "页面id")
    @NotNull(message = "hm.pass.field_non_nullable")
    private Long id;
    /**
     * 表单名称
     */
    @ApiModelProperty(value = "页面配置json")
    @NotNull(message = "hm.pass.field_non_nullable")
    @NotEmpty(message = "hm.pass.field_non_nullable")
    @NotBlank(message = "hm.pass.field_non_nullable")
    private String json;

}
